import { defineStore } from "pinia";
import { getThemeVideo } from "../api/themeApi/themeItem/themeItem";

let swm = defineStore("swm", {
  state: () => {
    return {
        themeVideoList : []
    };
  },
  actions: {
    async getVideoList(pageSize){
        let rs = await getThemeVideo(pageSize)
        console.log(rs);
        
        this.themeVideoList = rs
    }
  },
  getters: {},
});

export default swm